<template>
	<view>
		<web-view :src="webUrl"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webUrl: '',
				show: false
			}
		},
		onLoad(query) {
			console.log(query)
			uni.setNavigationBarTitle({
			    title:query.title || '新闻'
			})
			if(query.linkUrl){
				this.webUrl = query.linkUrl
				setTimeout(()=>{
					this.show = true
				},3000)
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
